package org.marvell.infra;

import java.util.ArrayList;

import systemobject.terminal.Prompt;

import com.aqua.sysobj.conn.CliConnectionImpl;
import com.aqua.sysobj.conn.Position;

public class NikolaCli extends CliConnectionImpl {

	@Override
	public Prompt[] getPrompts() {
		ArrayList<Prompt> prompts = new ArrayList<Prompt>();		
		Prompt p = new Prompt();
		p.setCommandEnd(true);
		p.setPrompt("#");
		prompts.add(p);

		p = new Prompt();
		p.setPrompt("User Name:");
		p.setStringToSend(getUser());
		prompts.add(p);

		p = new Prompt();
		p.setPrompt("Password:");
		p.setStringToSend(getPassword());
		prompts.add(p);
		return prompts.toArray(new Prompt[prompts.size()]);
	}

	@Override
	public Position[] getPositions() {
		// TODO Auto-generated method stub
		return null;
	}

}
